<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/20
 * Time: 22:07
 */

namespace app\api\validate;


class RecentCount extends BaseValidate
{
    protected $rule = [
      'count' => 'isPositiveInteger|between:1,15',
    ];

    protected $message = [
        'count.isPositiveInteger' => 'count必须为整数',
        'count.between' => 'count必须在1-15之间',
    ];
}